﻿@model IEnumerable<MobileWebsiteGenerator.Entities.Customer>
@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}
<h2>
    Index</h2>
<table>
    <tr>
        <th>
            UserName
        </th>
        <th>
            Password
        </th>
        <th>
            Email
        </th>
        <th>
            phone
        </th>
        <th>
            IsActive
        </th>
        <th>
            Options
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.UserName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Password)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Email)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.phone)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IsActive)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.Customer_id }) |
                @Html.ActionLink("Customer Website", "customerWebsite", new { id = item.Customer_id })
                @Html.ActionLink("Create New", "index", "ThemeDetails", new { id = item.Customer_id }, null)
            </td>
        </tr>
    }
</table>
